package com.shendu.task.domain;

import java.util.List;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 任务信息
 * @author unsky
 *
 */
@Document
public class TaskDoc  extends BaseDoc{
	private String taskId;
	private String task;
	private Boolean checked;
	private Integer sort=0;//种类 0 计划任务 1 临时任务 2 OKR
	private String startTime;
	private String  endTime;
	private Integer status=0;//0 0未运行 1运行中
	private long lastSaveRuntime;//上一次保存的运行时间
	private long runTime;//累计运行时间
	private List<List<Long>>timeList;
	private String userId;
	private String createDate;
	private int del=0;//是否删除  0 未删除 1删除
	public String getTask() {
		return task;
	}
	public void setTask(String task) {
		this.task = task;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public long getLastSaveRuntime() {
		return lastSaveRuntime;
	}
	public void setLastSaveRuntime(long lastSaveRuntime) {
		this.lastSaveRuntime = lastSaveRuntime;
	}
	public long getRunTime() {
		return runTime;
	}
	public void setRunTime(long runTime) {
		this.runTime = runTime;
	}
	
	public List<List<Long>> getTimeList() {
		return timeList;
	}
	public void setTimeList(List<List<Long>> timeList) {
		this.timeList = timeList;
	}
	public String getUserId() {
		return userId;	
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public int getDel() {
		return del;
	}
	public void setDel(int del) {
		this.del = del;
	}
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	
	
}
